package com.wanxi.service.impl;

import com.wanxi.model.NavModel;
import com.wanxi.model.ResultModel;
import com.wanxi.service.NavService;
import redis.clients.jedis.Jedis;

public class NavServiceImpl implements NavService {
    @Override
    public ResultModel enable(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel add(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel update(NavModel navModel) {
        int count=11;
        if(count>0){
            Jedis jedis=new Jedis();
            jedis.del("titleList","hrefList");
        }
        return null;
    }

    @Override
    public ResultModel delete(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel findById(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel findAll(NavModel navModel) {
        return null;
    }

    @Override
    public ResultModel count(NavModel navModel) {
        return null;
    }
}
